package com.example.chatper07;

public class Circle {
    private final double PI = 3.14;
    private double radius; // Circle radius
    private double area;   // Circle area

    public Circle() {
        // Default constructor
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double getArea() {
        return PI * radius * radius;
    }
}
